Skip to content

JSON Viewer Veyra: a Chrome extension, and its page on the website - #67

Merged
fcopensource merged 1 commit into
mainfrom
json-viewer-chrome
Nov 25, 2026
Merged

fcopensource merged 1 commit into
mainfrom
json-viewer-chrome

Conversation

@fcopensource

Copy link
Copy Markdown
Owner

Our first browser extension: JSON Viewer Veyra for Chrome (and Edge, Brave and other Chromium browsers), in browser/json-viewer. It's Manifest V3, and its only permission is storage.

What it does

  • JSON pages become a readable tree. Big files stay fast because only 200 items are drawn at a time.
  • Exact numbers: big IDs and values like 19.90 are shown as written, never rounded.
  • Paths: click a value to see its path, like $.items[0].price, and copy the path or the value.
  • Search keys and values, and step through the matches.
  • Broken JSON: shows the line and column, highlights the line, and explains the mistake in plain words (extra comma, single quotes, keys without quotes, missing comma).
  • Views: a coloured raw view and the original text, plus copy and download. The toolbar button opens a page to paste JSON or open a file. Dark, light and automatic themes.
  • Safety: page data is only ever shown as text, and only http(s) links are clickable. It only runs on JSON pages.

Tests

  • 14 unit tests.
  • A Playwright run that loads the extension into Chromium and checks 15 behaviours on real pages, including a hostile JSON document.

Publishing kit

  • release/json-viewer-veyra-1.0.0.zip (32 KB) to upload.
  • store/ screenshots and promo tile.
  • STORE-LISTING.md with every Chrome Web Store form answer, and PRIVACY.md.

Website: a /json-viewer page, a /json-viewer/privacy page (the store requires a privacy policy URL), a For Chrome group in the Products menu, and sitemap entries.

🤖 Generated with Claude Code

A new browser extension in browser/json-viewer (Manifest V3, Chrome 114+, permission: storage only):

- JSON pages as a tree, drawn lazily (200 items at a time) so big responses stay fast.
- Exact numbers: big IDs and values like 19.90 kept as written (JSON.parse source text).
- The path of every value ($.items[0].price), copy path and copy value.
- Search keys and values with match stepping; Ctrl+F.
- Broken JSON: line and column from its own scanner, the line highlighted, and the everyday mistakes said plainly (extra comma, single quotes, unquoted keys, missing comma).
- Raw (coloured; 2/4 spaces, tabs, one line) and Original views; copy and download.
- The toolbar button opens a page to paste JSON or open a file. Dark, light and auto themes; settings remembered.
- Safety: page data only ever goes in with textContent; only http(s) links; runs only on JSON content types or plain text that is JSON.

Tests: 14 unit tests (core), and a Playwright run that loads the extension into Chromium and checks 15 behaviours on real pages, including a hostile JSON document. scripts/zip.mjs builds the 32 KB store zip; scripts/screenshots.mjs makes the store images. STORE-LISTING.md has the Chrome Web Store form answers; PRIVACY.md the policy.

Website: /json-viewer and /json-viewer/privacy, a "For Chrome" group in the Products menu, and the sitemap.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@fcopensource
fcopensource merged commit 8a3157a into main Nov 25, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants